package com.example.demo.entity.sqlbean;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Builder;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;

/**
 * @author 11237
 */
@Data
@Slf4j
@Builder
public class OperationManual {
    @JsonIgnore
    private Long id;
    @JsonIgnore
    private Long productId;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String videoSrc;
    @JsonProperty("imgUrl")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String imgSrc;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String font;

    public OperationManual() {
    }

    public OperationManual(Long id, Long productId, String videoSrc, String imgSrc, String font) {
        this.id = id;
        this.productId = productId;
        this.videoSrc = videoSrc;
        this.imgSrc = imgSrc;
        this.font = font;
    }
}
